package net.tv90.bfmccore.game.impl;

import net.tv90.bfmccore.game.GameManager;
import net.tv90.bfmccore.game.commander.TDMCommanderSystem;
import org.bukkit.entity.Player;

public class AirSuperiorityGame extends ConquestGame {

    @Override
    public void onCustomStart() {
        maxTankNum = 0;
        maxAANum = 0;
        maxHeliNum = 1;
        maxTransHeliNum = 1;
        maxJetNum = 10;
        maxAtkJetNum = 1;
        maxFacNum = 0;
        jetCooldownTime = 5;
        atkJetCooldownTime = 60;
        transHeliCooldownTime = 5;
        heliCooldownTime = 60;
        applyVehicleLimit();
        applyVehicleCooldown();
        commanderSystem = new TDMCommanderSystem();
    }

    @Override
    public void deploy(Player p) {
        GameManager.inBattleFieldPlayers.add(p);
        p.closeInventory();
    }

}
